DioDocs for PDF
DrawLine(PointF,PointF,Color,Single,Single[]) メソッド

DS.Documents.Imaging アセンブリ > GrapeCity.Documents.Drawing 名前空間 > GcGraphics クラス > DrawLine メソッド : DrawLine(PointF,PointF,Color,Single,Single[]) メソッド
The first point.
The second point.
The line color.
The line width.
The dash pattern.
Draws a line between two points, using the specified line color, width and dash pattern.

If the dashPattern array contains two or more items, the line is drawn with a Pen having Pen.LineCap set to PenLineCap.Square instead of PenLineCap.Flat.

シンタックス
'宣言
 
Public Overloads Sub DrawLine( _
   ByVal p1 As System.Drawing.PointF, _
   ByVal p2 As System.Drawing.PointF, _
   ByVal lineColor As System.Drawing.Color, _
   ByVal lineWidth As System.Single, _
   ByVal dashPattern() As System.Single _
) 
public void DrawLine( 
   System.Drawing.PointF p1,
   System.Drawing.PointF p2,
   System.Drawing.Color lineColor,
   System.float lineWidth,
   System.float[] dashPattern
)

パラメータ

p1
The first point.
p2
The second point.
lineColor
The line color.
lineWidth
The line width.
dashPattern
The dash pattern.
参照

GcGraphics クラス
GcGraphics メンバ
オーバーロード一覧